Source Code ช อ frmcar

Size: px
Start display at page:

Download "Source Code ช อ frmcar"

Transcription

1 122 Source Code ช อ frmcar Imports System.Data Imports System.Data.SqlClient Imports System.Globalization Public Class frmcar Dim ds, ds1, dsc As New DataSet Dim hit As DataGridView.HitTestInfo Dim N As Integer Dim AddData As String Private Sub frmcar_load(byval sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'Me.WindowState = FormWindowState.Maximized 'Me.Text = "แบบฟอร มข อม ลรถ " & " > (อ ซ อมรถม นคงเซอร ว ส) " & UName GenColor() GenCustomerCar() ShowDataAll() Private Sub ShowDataAll() If ds.tables.contains("car") Then ds.tables("car").clear() sql = "Select * From Car" Dim da As New SqlDataAdapter(sql, conn) da.fill(ds, "Car") DataGridView1.DataSource = ds DataGridView1.DataMember = "Car" Private Sub GenCustomerCar() sql = "SELECT CusCar_id, CusCar_name + ' ' + CusCar_last AS name FROM dbo.customercar " Dim da As New SqlDataAdapter(sql, conn) da.fill(ds, "CustomerCar") cbocarname.datasource = ds.tables("customercar") cbocarname.displaymember = "name" cbocarname.valuemember = "CusCar_id"

2 Private Sub GenColor() sql = "SELECT colorname FROM CarColor " Dim da As New SqlDataAdapter(sql, conn) da.fill(ds, "CarColor") txtcarcolor.datasource = ds.tables("carcolor") txtcarcolor.displaymember = "colorname" 'จบการทางาน Private Sub cmdexit_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles cmdexit.click If MessageBox.Show("ค ณต องการจบการทางาน ใช หร อไม?", "คาย นย น", MessageBoxButtons.YesNo, MessageBoxIcon.Question) = Windows.Forms.DialogResult.Yes Then Me.Close() 'ค นหาท งหมด Private Sub cmdsearch2_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles cmdsearch2.click ShowDataAll() 'ค นหา Private Sub cmdsearch1_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles cmdsearch1.click If ds.tables.contains("car") Then ds.tables("car").clear() sql = "select * from Car " If RadioButton1.Checked = True Then 'รห ส sql = sql + "where carid like '%" + txttxtcarsearch.text + "%'" If RadioButton2.Checked = True Then 'ย ห อ sql = sql + "where barndcar like '%" + txttxtcarsearch.text + "%'" Dim da As New SqlDataAdapter(sql, conn) da.fill(ds, "Car") DataGridView1.DataSource = ds 123

3 DataGridView1.DataMember = "Car" If ds.tables("car").rows.count <= 0 Then MessageBox.Show("ไม พบรายการท ค นหา!!!", "ผลการทางาน", MessageBoxButtons.OK, MessageBoxIcon.Information) 'เพ ม Private Sub cmdadd_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles cmdadd.click AddData = "Add" GroupBox1.Text = "เพ มข อม ลรถ" 'ข อม ลรถ GroupBox2.Enabled = False 'เพ มและแก ไข GroupBox1.Enabled = True 'ข อม ลรถ GroupBox5.Enabled = True 'บ นท กและยกเล ก cle() genid() 'ยกเล ก Private Sub cmdclear_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles cmdclear.click AddData = "" GroupBox1.Text = "" 'ข อม ลรถ GroupBox2.Enabled = True 'เพ มและแก ไข GroupBox1.Enabled = False 'ข อม ลรถ GroupBox5.Enabled = False 'บ นท กและยกเล ก cle() 'แก ไข Private Sub cmdedit_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles cmdedit.click AddData = "Edit" GroupBox1.Text = "แก ไขข อม ลรถ" 'ข อม ลรถ GroupBox2.Enabled = False 'เพ มและแก ไข GroupBox1.Enabled = True 'ข อม ลรถ 124

4 GroupBox5.Enabled = True 'บ นท กและยกเล ก 'บ นท ก Private Sub cmdok_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles cmdok.click If txtcarid.text = "" Then MessageBox.Show("กร ณาใส รห สรถ ก อน!!!", "คาเต อน", MessageBoxButtons.OK, MessageBoxIcon.Warning) If txtcarname.text = "" Then MessageBox.Show("กร ณากรอก ย ห อรถ ก อน!!!", "คาเต อน", MessageBoxButtons.OK, MessageBoxIcon.Warning) If cbocartype.text = "" Then MessageBox.Show("กร ณาเล อก ประเภทรถ ก อน!!!", "คาเต อน", MessageBoxButtons.OK, MessageBoxIcon.Warning) If txtcartabair.text = "" Then MessageBox.Show("กร ณากรอก เลขทะเบ ยนรถ ก อน!!!", "คาเต อน", MessageBoxButtons.OK, MessageBoxIcon.Warning) If txtcarlot.text = "" Then MessageBox.Show("กร ณากรอก ร นรถ ก อน!!!", "คาเต อน", MessageBoxButtons.OK, MessageBoxIcon.Warning) If txtcaryear.text = "" Then MessageBox.Show("กร ณากรอก ป ก อน!!!", "คาเต อน", MessageBoxButtons.OK, MessageBoxIcon.Warning) If txtcarcolor.text = "" Then MessageBox.Show("กร ณาเล อก ส รถ ก อน!!!", "คาเต อน", MessageBoxButtons.OK, MessageBoxIcon.Warning) If txtcarcare.text = "" Then MessageBox.Show("กร ณากรอก เก ยร ก อน!!!", "คาเต อน", MessageBoxButtons.OK, MessageBoxIcon.Warning) If txtcarsize.text = "" Then 125

5 MessageBox.Show("กร ณากรอก ความจ ก อน!!!", "คาเต อน", MessageBoxButtons.OK, MessageBoxIcon.Warning) If cbocarname.text = "" Then MessageBox.Show("กร ณาเล อก เจ าของรถ ก อน!!!", "คาเต อน", MessageBoxButtons.OK, MessageBoxIcon.Warning) If txtcardetail.text = "" Then MessageBox.Show("กร ณากรอก รายละเอ ยดอ น ๆ ก อน!!!", "คาเต อน", MessageBoxButtons.OK, MessageBoxIcon.Warning) If AddData = "Add" Then ' ********************************************************** If dsc.tables.contains("car") Then dsc.tables("car").clear() sql = "SELECT * " sql = sql & "FROM dbo.car where carid = '" & txtcarid.text & "' " Dim da As New SqlDataAdapter(sql, conn) da.fill(dsc, "Car") DataGridView1.DataSource = ds DataGridView1.DataMember = "Car" If dsc.tables("car").rows.count > 0 Then MessageBox.Show("รห สรถน ม อย ใน ฐานข อม ลแล ว!!!", "ผลการทางาน", MessageBoxButtons.OK, MessageBoxIcon.Error) txtcarid.focus() sql = "insert into Car(carid, barndcar, cartype, carnumber, carmodel, carcolor, caryear, cark, cark1, cardesc, CusCar_id)" sql = sql & "VALUES('" sql = sql & txtcarid.text & "','" sql = sql & txtcarname.text & "','" sql = sql & cbocartype.text & "','" sql = sql & txtcartabair.text & "','" sql = sql & txtcarlot.text & "','" 126

6 sql = sql & txtcarcolor.text & "','" sql = sql & txtcaryear.text & "','" sql = sql & txtcarcare.text & "','" sql = sql & txtcarsize.text & "','" sql = sql & txtcardetail.text & "','" sql = sql & cbocarname.selectedvalue & "')" sql = "UPDATE Car SET " sql = sql & "barndcar = '" & txtcarname.text & "'," sql = sql & "cartype = '" & cbocartype.text & "'," sql = sql & "carnumber = '" & txtcartabair.text & "'," sql = sql & "carmodel = '" & txtcarlot.text & "'," sql = sql & "carcolor = '" & txtcarcolor.text & "'," sql = sql & "caryear = '" & txtcaryear.text & "'," sql = sql & "cark = '" & txtcarcare.text & "'," sql = sql & "cark1 = '" & txtcarsize.text & "'," sql = sql & "cardesc = '" & txtcardetail.text & "'" sql = sql & "WHERE " sql = sql & "carid = '" & txtcarid.text & "'" Dim cmd As SqlCommand cmd = New SqlCommand With cmd.commandtype = CommandType.Text.CommandText = sql.connection = conn().executenonquery() End With ShowDataAll() cle() If AddData = "Add" Then genid() 127

7 Private Sub cle() txtcarid.text = "" txtcarname.text = "" cbocartype.text = "" txtcartabair.text = "" txtcarlot.text = "" txtcarcolor.text = "" txtcaryear.text = "" txtcarcare.text = "" txtcarsize.text = "" txtcardetail.text = "" cbocarname.text = "" Private Sub genid() If ds1.tables.contains("car") Then ds1.tables("car").clear() Dim SQLTYPE As String = "Select max(carid)as id from Car" Dim DAType As New SqlDataAdapter(SQLTYPE, conn) DAType.Fill(ds1, "Car") Dim cm As New SqlCommand(SQLTYPE, conn) Dim cr As SqlDataReader = cm.executereader If cr.read Then Try txtcarid.text = Format(((cr.Item("id")) + 1), " ") Catch ex As Exception txtcarid.text = " " End Try cr.close() Private Sub DataGridView1_CellFormatting(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellFormattingEventArgs) Handles DataGridView1.CellFormatting If Int(e.RowIndex Mod 2) = 0 Then e.cellstyle.backcolor = Color.LightCyan ' Gainsboro e.cellstyle.backcolor = Color.LavenderBlush 128

8 Private Sub DataGridView1_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles DataGridView1.MouseDown Dim g As DataGridView = sender hit = g.hittest(e.x, e.y) If ds.tables("car").rows.count <> 0 Then If e.button = Windows.Forms.MouseButtons.Left Then N = hit.rowindex Try txtcarid.text = ds.tables("car").rows(n)("carid") txtcarname.text = ds.tables("car").rows(n)("barndcar") txtcartabair.text = ds.tables("car").rows(n)("carnumber") txtcarlot.text = ds.tables("car").rows(n)("carmodel") txtcaryear.text = ds.tables("car").rows(n)("caryear") txtcarcare.text = ds.tables("car").rows(n)("cark") txtcarsize.text = ds.tables("car").rows(n)("cark1") txtcardetail.text = ds.tables("car").rows(n)("cardesc") txtcarcolor.text = ds.tables("car").rows(n)("carcolor") cbocartype.text = ds.tables("car").rows(n)("cartype") Catch ex As Exception MessageBox.Show("กร ณาคล กให ตรงช องท ต องการทาอ กคร ง", "คาเต อน", MessageBoxButtons.OK, MessageBoxIcon.Warning) End Try 'ลบ Private Sub cmddelete_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles cmddelete.click If txtcarid.text = "" Then MessageBox.Show("กร ณาใส รห ส ก อน!!!", "คาเต อน", MessageBoxButtons.OK, MessageBoxIcon.Warning) 129

9 sql = "Delete from Car " sql = sql & "where carid = '" & Me.txtCarId.Text & "' " If MessageBox.Show("ค ณต องการลบ " & Me.txtCarId.Text & " ใช หร อไม?", "คาย นย น", MessageBoxButtons.YesNo, MessageBoxIcon.Information) = Windows.Forms.DialogResult.Yes Then Dim cmd As SqlCommand cmd = New SqlCommand With cmd.commandtype = CommandType.Text.CommandText = sql.connection = conn().executenonquery() ShowDataAll() End With End Class 130

10 131 Source Code ช อ frmcarpresent Imports System.Data Imports System.Data.SqlClient Imports System.Globalization Public Class frmcarpresent Dim ds As New DataSet Dim ds1, ds2 As New DataSet Dim tmporderid As String = "" Dim tmpbinid As String = " " Dim dtfinfo As DateTimeFormatInfo Dim Today1 As Date Dim PP As String Dim cname, caddress, ctel, cmo As String Private Sub frmcarpresent_load(byval sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'Me.WindowState = FormWindowState.Maximized Genpro() AutoID() dtfinfo = DateTimeFormatInfo.InvariantInfo ' GenCustomer() lsvpro.columns.add("รห ส", 100, HorizontalAlignment.Left) lsvpro.columns.add("ช อ", 180, HorizontalAlignment.Left) lsvpro.columns.add("ราคา", 55, HorizontalAlignment.Right) lsvpro.columns.add("จานวน", 75, HorizontalAlignment.Right) lsvpro.columns.add("รวมเป นเง น", 80, HorizontalAlignment.Right) lsvpro.view = View.Details lsvpro.gridlines = True Genemp() 'Private Sub GenCustomer() ' 'sql = "SELECT CusCar_id, CusCar_name + ' ' + CusCar_last AS name FROM dbo.customercar " 'Dim da As New SqlDataAdapter(Sql, conn) ' da.fill(ds, "CustomerCar")

11 'cbocarpresentcusid.datasource = ds.tables("customercar") ' cbocarpresentcusid.displaymember = "name" ' cbocarpresentcusid.valuemember = "CusCar_id" ' Private Sub Genemp() sql = "SELECT empid, empname + ' ' + emplast AS name FROM dbo.employee " Dim da As New SqlDataAdapter(sql, conn) da.fill(ds, "employee") cbocarpresentempname.datasource = ds.tables("employee") cbocarpresentempname.displaymember = "name" cbocarpresentempname.valuemember = "empid" Private Sub Genpro() sql = "select * from product " Dim da As New SqlDataAdapter(sql, conn) da.fill(ds, "product") cbocarpresentproname.datasource = ds.tables("product") cbocarpresentproname.displaymember = "pro_name" cbocarpresentproname.valuemember = "pro_id" Private Sub ComboBox2_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cbocarpresentproname.selectedindexchanged Try sql = "select * from product where pro_name = '" & cbocarpresentproname.text & "' " Dim cm As New SqlCommand(sql, conn) Dim cr As SqlDataReader = cm.executereader If cr.read Then cbocarpresentnameid.text = cr.item("pro_id") txtcarpresentpropaice.text = cr.item("pro_price") txtcarpresentprounit.text = "1" 132

12 cr.close() Catch ex As Exception End Try Private Sub AutoID() = "" sql = "SELECT max(id_m) as id FROM CarRepair " Try Dim cm As New SqlCommand(sql, conn) Dim cr As SqlDataReader = cm.executereader If cr.read Then txtcarpresentid.text = Format(cr.Item("id") + 1, "000000") cr.close() Catch ex As Exception txtcarpresentid.text = "000001" End Try Private Sub TextBox7_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtcarpresentprounit.keypress If InStr(" " & Chr(8), e.keychar) = 0 Then e.handled = True Private Sub B1() If (cbocarpresentnameid.text = "") Or (cbocarpresentnameid.text = "") Then If CInt(txtCarPresentProUnit.Text) = 0 Then txtcarpresentprounit.focus() Dim i As Integer = 0 Dim lvi As ListViewItem Dim tmpproid As String = "" For i = 0 To lsvpro.items.count - 1 tmpproid = lsvpro.items(i).subitems(0).text 133

13 134 If cbocarpresentnameid.text = tmpproid Then MessageBox.Show("ค ณเล อกรห สส นค าซ าก น!!!", "ผลการตรวจสอบ", MessageBoxButtons.OK, MessageBoxIcon.Information) cbocarpresentnameid.text = "" cbocarpresentproname.text = "" txtcarpresentprounit.text = "0" txtcarpresentpropaice.text = "" Next Dim anydata() As String Dim tmptotal As Single = 0 tmptotal = (CInt(txtCarPresentProPaice.Text) * CInt(txtCarPresentProUnit.Text)) anydata = New String() { _ cbocarpresentproname.selectedvalue.tostring(), _ cbocarpresentproname.text, _ txtcarpresentpropaice.text, _ txtcarpresentprounit.text, _ tmptotal.tostring("#,##0.00") _ } lvi = New ListViewItem(anyData) lsvpro.items.add(lvi) Calculate() cbocarpresentproname.text = "" cbocarpresentnameid.text = "" txtcarpresentpropaice.text = "" txtcarpresentprounit.text = "0" Private Sub Calculate() Dim i As Integer = 0 Dim tmptotal As Single = 0 Dim tmpvat As Single = 0 For i = 0 To lsvpro.items.count - 1 tmptotal = tmptotal + CSng(lsvPro.Items(i).SubItems(4).Text)

14 Next tmpvat = CSng(tmpTotal * (7 / 100)) lblvat.text = tmpvat.tostring("#,##0.00") lblnetpaid.text = CSng(tmpTotal + tmpvat).tostring("#,##0.00") Private Sub SaveData() Dim sqlsale As String If MessageBox.Show("ค ณต องการบ นท กรายการซ อม ใช หร อไม?", "คาย นย น", MessageBoxButtons.YesNo, MessageBoxIcon.Information) = Windows.Forms.DialogResult.Yes Then Dim sqlorder As String = "" sqlorder = "INSERT INTO CarRepair(ID_M,empid, MVate, NetPaid, Date_M, Re_date,d1,d2,d3,d4,d5,d6,d7,d8,d9,note1)" sqlorder &= " VALUES('" & txtcarpresentid.text & "'," ' sqlorder &= "'" & cbocarpresentcusid.selectedvalue.tostring() & "'," ' sqlorder &= "'" & txtcarpresentnumid.text & "'," sqlorder &= "'" & cbocarpresentempname.selectedvalue.tostring() & "'," sqlorder &= "" & CSng(lblVAT.Text) & "," sqlorder &= "" & CSng(lblNetPaid.Text) & "," sqlorder &= "'" & DateTimePicker1.Value.ToString("d", dtfinfo) & "'," sqlorder &= "'" & DateTimePicker2.Value.ToString("d", dtfinfo) & "'," If CheckBox1.Checked = True Then sqlorder &= "'" & "1" & "'," sqlorder &= "'" & "0" & "'," If CheckBox2.Checked = True Then sqlorder &= "'" & "1" & "'," sqlorder &= "'" & "0" & "'," If CheckBox3.Checked = True Then sqlorder &= "'" & "1" & "'," sqlorder &= "'" & "0" & "'," 135

15 136 If CheckBox4.Checked = True Then sqlorder &= "'" & "1" & "'," sqlorder &= "'" & "0" & "'," If CheckBox5.Checked = True Then sqlorder &= "'" & "1" & "'," sqlorder &= "'" & "0" & "'," If CheckBox6.Checked = True Then sqlorder &= "'" & "1" & "'," sqlorder &= "'" & "0" & "'," If CheckBox7.Checked = True Then sqlorder &= "'" & "1" & "'," sqlorder &= "'" & "0" & "'," If CheckBox8.Checked = True Then sqlorder &= "'" & "1" & "'," sqlorder &= "'" & "0" & "'," If CheckBox9.Checked = True Then sqlorder &= "'" & TextBox1.Text & "'," sqlorder &= "'" & "-" & "'," sqlorder &= "'" & TextBox2.Text & "')" Dim comorder As SqlCommand = New SqlCommand Try With comorder

16 .CommandType = CommandType.Text.CommandText = sqlorder.connection = conn().executenonquery() End With Catch ErrProcess As Exception MessageBox.Show("ไม สามารถเพ มข อม ลได เน องจาก " & ErrProcess.Message, "ข อผ ดพลาด", MessageBoxButtons.OK, MessageBoxIcon.Error) End Try sqlorder = "" Dim i As Integer = 0 Dim tmpbookinorder As Integer = 0 For i = 0 To lsvpro.items.count - 1 sqlorder = "INSERT INTO CarRepairDec(id_M, pro_id, MQTY, mcost,mtotal)" sqlorder &= " VALUES('" & txtcarpresentid.text & "'," sqlorder &= "'" & lsvpro.items(i).subitems(0).text & "'," 'รห ส sqlorder &= CInt(lsvPro.Items(i).SubItems(3).Text) & "," 'จานวน sqlorder &= CSng(lsvPro.Items(i).SubItems(2).Text) & "," 'ราคา sqlorder &= CSng(lsvPro.Items(i).SubItems(4).Text) & ")" 'รวมเป นเง น With comorder.commandtype = CommandType.Text.CommandText = sqlorder.connection = conn().executenonquery() End With ' sqlsale = "SELECT pro_id, pro_unit FROM Product" ' sqlsale &= " WHERE (pro_id='" & lsvpro.items(i).subitems(0).text & "')" ' Dim da As New SqlDataAdapter(sqlSale, conn) 'da.fill(ds, "Product") 'Dim tmpbookinshop As Integer ' tmpbookinshop = CInt(ds.Tables("Product").Rows(0).Item("pro_unit")) ' ds.tables("product").clear() ' sqlsale = "UPDATE Product SET " ' sqlsale = sqlsale & "pro_unit = " & tmpbookinshop - CInt(lsvPro.Items(i).SubItems(3).Text) & " " 137

17 ' sqlsale = sqlsale & "WHERE " 'sqlsale = sqlsale & "pro_id = '" & lsvpro.items(i).subitems(0).text & "'" ' Dim comsale As SqlCommand = New SqlCommand 'With comsale '.CommandType = CommandType.Text '.CommandText = sqlsale '.Connection = conn() '.ExecuteNonQuery() ' End With sqlorder = "" sqlsale = "" Next MessageBox.Show("บ นท กรายการซ อมเร ยบร อยแล ว!!!", "ผลการทางาน", MessageBoxButtons.OK, MessageBoxIcon.Information) cbocarpresentproname.text = "" cbocarpresentnameid.text = "" ' cbocarpresentcusid.text = "" txtcarpresentid.text = "" txtcarpresentpropaice.text = "" txtcarpresentprounit.text = "0" AutoID() Private Sub txtcarpresentprounit_keydown(byval sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles txtcarpresentprounit.keydown If e.keycode = Keys.Enter Then If txtcarpresentprounit.text = "" Then MsgBox("ใส ข อม ลให ครบก อน!!!", MsgBoxStyle.Critical, "ผลการทางาน") B1() Private Sub printer1() 138

18 Dim rpt As New rptq Dim dataorder As New DataSet1 Dim frmreport As New frmreport Dim MyDa As New SqlDataAdapter sql = "SELECT CarRepairDec.ID_M, CarRepairDec.Pro_id, Product.pro_name, CarRepairDec.MQty, CarRepairDec.MCost, " sql = sql & "CarRepairDec.MTotal " sql = sql & "FROM CarRepairDec INNER JOIN " sql = sql & "Product ON CarRepairDec.Pro_id = Product.pro_id " sql = sql & "where CarRepairDec.ID_M = '" & PP & "' " MyDa = New SqlDataAdapter(sql, conn) MyDa.Fill(dataOrder, "CarRepair") If (dataorder.tables("carrepair").rows.count <> 0) Then rpt.setdatasource(dataorder.tables("carrepair")) 'rpt.setparametervalue("cusid", cbocarpresentcusid.selectedvalue.tostring()) 'rpt.setparametervalue("cusname", cname) ' rpt.setparametervalue("address1", caddress) ' rpt.setparametervalue("tel", ctel) 'rpt.setparametervalue("mo", cmo) rpt.setparametervalue("mdate", Format(DateTimePicker1.Value, "d-mmmm-yyyy")) rpt.setparametervalue("redate", Format(DateTimePicker1.Value, "d-mmmm-yyyy")) rpt.setparametervalue("xxx", "ใบเสนอราคา") rpt.setparametervalue("empx", "พน กงานตรวจเช ค") frmreport.crystalreportviewer1.reportsource = rpt frmreport.showdialog() MsgBox("NO Data!!!", MsgBoxStyle.Exclamation, "ผลการทางาน") 'บ นท ก Private Sub cmdok_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles cmdok.click Try PP = txtcarpresentid.text SaveData() 139

19 140 txtcarpresentid.text = "" cbocarpresentempname.text = "" 'cbocarpresentcusid.text = "" TextBox1.Text = "" TextBox2.Text = "" lsvpro.items.clear() lblnetpaid.text = "" CheckBox1.Checked = False CheckBox2.Checked = False CheckBox3.Checked = False CheckBox4.Checked = False CheckBox5.Checked = False CheckBox6.Checked = False CheckBox7.Checked = False CheckBox8.Checked = False CheckBox9.Checked = False Catch ex As Exception End Try 'เพ ม Private Sub cmdadd_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles cmdadd.click Try B1() Catch ex As Exception End Try 'Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) ' Try ' ' sql = "select * from Car where CusCar_id = '" & cbocarpresentcusid.selectedvalue.tostring() & "' " ' Dim cm As New SqlCommand(Sql, conn)

20 ' Dim cr As SqlDataReader = cm.executereader 'If cr.read Then ' txtcarpresentnumid.text = cr.item("carnumber") ' 'cr.close() ' Catch ex As Exception ' End Try ' Try ' Dim sql1 As String 'sql1 = "select CusCar_id, CusCar_name + ' ' + CusCar_last AS name, CustomerCar.CusCar_homeno + ' ซ. ' + CustomerCar.CusCar_soi + ' ถ. ' + CustomerCar.CusCar_road + ' ต. ' + CustomerCar.CusCar_district + ' อ. ' + CustomerCar.CusCar_auphur + ' จ. ' + CustomerCar.CusCar_provice " ' sql1 = sql1 & "+ ' ' + CustomerCar.CusCar_poscode AS address, CustomerCar.CusCar_telhome, CustomerCar.CusCar_telephone from CustomerCar where cuscar_id = '" & cbocarpresentcusid.selectedvalue.tostring() & "' " ' Dim cm1 As New SqlCommand(sql1, conn) 'Dim cr1 As SqlDataReader = cm1.executereader 'If cr1.read Then ' cname = cr1.item("name") ' caddress = cr1.item("address") ' ctel = cr1.item("cuscar_telhome") 'cmo = cr1.item("cuscar_telephone") ' ' cr1.close() ' Catch ex As Exception 'End Try ' 141 'จบการทางาน Private Sub cmdexit_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles cmdexit.click If MessageBox.Show("ค ณต องการจบการทางาน ใช หร อไม?", "คาย นย น", MessageBoxButtons.YesNo, MessageBoxIcon.Question) = Windows.Forms.DialogResult.Yes Then Me.Close()

21 142 'ออกรายงาน Private Sub cmdprint_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles cmdprint.click printer1() 'ล างรายการ Private Sub cmdclear_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles cmdclear.click cbocarpresentnameid.text = "" cbocarpresentproname.text = "" txtcarpresentprounit.text = "0" txtcarpresentpropaice.text = "" End Class Source Code ช อ frmcarrepair Imports System.Data Imports System.Data.SqlClient Imports System.Globalization Public Class frmcarrepair Dim ds As New DataSet Dim ds1, ds2 As New DataSet Dim tmporderid As String = "" Dim tmpbinid As String = " " Dim dtfinfo As DateTimeFormatInfo Dim Today1 As Date Dim PP As String Dim cname, caddress, ctel, cmo As String Private Sub frmcarrepair_load(byval sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'Me.WindowState = FormWindowState.Maximized

22 143 dtfinfo = DateTimeFormatInfo.InvariantInfo GenCustomer() Private Sub GenCustomer() sql = "SELECT CusCar_id, CusCar_name + ' ' + CusCar_last AS name FROM dbo.customercar " Dim da As New SqlDataAdapter(sql, conn) da.fill(ds, "CustomerCar") cbocarpresentcusid.datasource = ds.tables("customercar") cbocarpresentcusid.displaymember = "name" cbocarpresentcusid.valuemember = "CusCar_id" Private Sub txtoutcarid_keydown(byval sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles txtoutcarid.keydown If e.keycode = Keys.Enter Then Showdata() Private Sub Showdata() If ds.tables.contains("carrepairdec") Then ds.tables("carrepairdec").clear() sql = "SELECT dbo.carrepairdec.pro_id, dbo.product.pro_name, dbo.carrepairdec.mqty, dbo.carrepairdec.mcost, dbo.carrepairdec.mtotal " sql = sql & "FROM dbo.carrepairdec INNER JOIN " sql = sql & "dbo.product ON dbo.carrepairdec.pro_id = dbo.product.pro_id " sql = sql & "where CarRepairDec.ID_M = '" & txtoutcarid.text & "' and CarRepairDec.MQTY <> 0 " sql = "SELECT dbo.carrepairdec.pro_id, dbo.product.pro_name, dbo.carrepairdec.mqty, dbo.carrepairdec.mcost, dbo.carrepairdec.mtotal " sql = sql & "FROM dbo.carrepairdec INNER JOIN " sql = sql & "dbo.product ON dbo.carrepairdec.pro_id = dbo.product.pro_id " sql = sql & "where CarRepairDec.ID_M = '" & txtoutcarid.text & "' and CarRepairDec.MQTY <> 0 " Dim da As New SqlDataAdapter(sql, conn) da.fill(ds, "CarRepairDec") DataGridView1.DataSource = ds.tables("carrepairdec")

23 144 Dim cm As New SqlCommand(sql, conn) Dim cr As SqlDataReader = cm.executereader If cr.read Then 'lblvat.text = cr.item("mvate") lblnetpaid.text = cr.item("mtotal") cr.close() 'จบการทางาน Private Sub cmdexit_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles cmdexit.click If MessageBox.Show("ค ณต องการจบการทางาน ใช หร อไม?", "คาย นย น", MessageBoxButtons.YesNo, MessageBoxIcon.Question) = Windows.Forms.DialogResult.Yes Then Me.Close() Private Sub cbocarpresentcusid_selectedindexchanged(byval sender As System.Object, ByVal e As System.EventArgs) Handles cbocarpresentcusid.selectedindexchanged Try sql = "select * from Car where CusCar_id = '" & cbocarpresentcusid.selectedvalue.tostring() & "' " Dim cm As New SqlCommand(sql, conn) Dim cr As SqlDataReader = cm.executereader If cr.read Then txtcarpresentnumid.text = cr.item("carnumber") cr.close() Catch ex As Exception End Try Try Dim sql1 As String

24 sql1 = "select CusCar_id, CusCar_name + ' ' + CusCar_last AS name, CustomerCar.CusCar_homeno + ' ซ. ' + CustomerCar.CusCar_soi + ' ถ. ' + CustomerCar.CusCar_road + ' ต. ' + CustomerCar.CusCar_district + ' อ. ' + CustomerCar.CusCar_auphur + ' จ. ' + CustomerCar.CusCar_provice " sql1 = sql1 & "+ ' ' + CustomerCar.CusCar_poscode AS address, CustomerCar.CusCar_telhome, CustomerCar.CusCar_telephone from CustomerCar where cuscar_id = '" & cbocarpresentcusid.selectedvalue.tostring() & "' " Dim cm1 As New SqlCommand(sql1, conn) Dim cr1 As SqlDataReader = cm1.executereader If cr1.read Then cname = cr1.item("name") caddress = cr1.item("address") ctel = cr1.item("cuscar_telhome") cmo = cr1.item("cuscar_telephone") cr1.close() Catch ex As Exception End Try 145 Private Sub cmdok_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles cmdok.click ' Dim sqlsale As String If MessageBox.Show("ค ณต องการบ นท กรายการซ อม ใช หร อไม?", "คาย นย น", MessageBoxButtons.YesNo, MessageBoxIcon.Information) = Windows.Forms.DialogResult.Yes Then Dim sqlorder As String = "" sqlorder = "UPDATE CarRepair" sqlorder &= " SET CusCar_ID='" & cbocarpresentcusid.selectedvalue.tostring.trim & "'," sqlorder &= "CarNumber='" & txtcarpresentnumid.text & "'," sqlorder &= "PStatus='1'" sqlorder &= " WHERE ID_M='" & txtoutcarid.text.trim & "'" Dim comorder As SqlCommand = New SqlCommand Try

25 146 With comorder.commandtype = CommandType.Text.CommandText = sqlorder.connection = conn().executenonquery() End With Catch ErrProcess As Exception MessageBox.Show("ไม สามารถเพ มข อม ลได เน องจาก " & ErrProcess.Message, "ข อผ ดพลาด", MessageBoxButtons.OK, MessageBoxIcon.Error) End Try sqlorder = "" MsgBox("บ นท กข อม ลการร บซ อมเร ยบร อยร อยแล ว", MsgBoxStyle.Exclamation, "ผลการทางาน") End Class Source Code ช อ frmoutcar Imports System.Data Imports System.Data.SqlClient Imports System.Globalization Public Class frmoutcar Dim ds As New DataSet Dim ds1, ds2 As New DataSet Dim tmporderid As String = "" Dim tmpbinid As String = " " Dim dtfinfo As DateTimeFormatInfo Dim Today1 As Date Dim PP As String Dim cname, cid1, caddress, ctel, cmo As String Private Sub frmoutcar_load(byval sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'Me.WindowState = FormWindowState.Maximized

26 Private Sub TextBox1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles txtoutcarid.keydown If e.keycode = Keys.Enter Then 147 sql = "SELECT dbo.carrepair.date_m, dbo.carrepair.re_date, dbo.customercar.cuscar_id, " sql = sql & "dbo.customercar.cuscar_fname + dbo.customercar.cuscar_name + ' ' + dbo.customercar.cuscar_last AS cusname, " sql = sql & "dbo.employee.empfname + dbo.employee.empname + ' ' + dbo.employee.emplast AS empnamex, dbo.carrepair.carnumber, " sql = sql & "dbo.carrepair.mvate, dbo.carrepair.netpaid, dbo.customercar.cuscar_id, " sql = sql & "dbo.customercar.cuscar_name + ' ' + dbo.customercar.cuscar_last AS name, dbo.customercar.cuscar_homeno + ' ซ. ' + dbo.customercar.cuscar_soi + ' ถ. ' + dbo.customercar.cuscar_road + ' ต. ' + dbo.customercar.cuscar_district + ' อ. ' + dbo.customercar.cuscar_auphur + ' จ. ' + dbo.customercar.cuscar_provice " sql = sql & "+ ' ' + dbo.customercar.cuscar_poscode AS address, dbo.customercar.cuscar_telhome, dbo.customercar.cuscar_telephone, dbo.carrepair.mstatus, dbo.carrepair.cash1, dbo.carrepair.chanhe1 " sql = sql & "FROM dbo.carrepair INNER JOIN " sql = sql & "dbo.customercar ON dbo.carrepair.cuscar_id = dbo.customercar.cuscar_id INNER JOIN " sql = sql & "dbo.employee ON dbo.carrepair.empid = dbo.employee.empid " sql = sql & "where CarRepair.ID_M = '" & txtoutcarid.text & "' " 'AND OrderDec.OID= '" & tmporderid & "'" Dim cm As New SqlCommand(sql, conn) Dim cr As SqlDataReader = cm.executereader If cr.read Then txtoutcarcusid.text = cr.item("cusname") txtoutcarempname.text = cr.item("empnamex") lblvat.text = cr.item("mvate") lblnetpaid.text = cr.item("netpaid") DateTimePicker2.Value = cr.item("re_date") cid1 = cr.item("cuscar_id") cname = cr.item("cusname") caddress = cr.item("address") ctel = cr.item("cuscar_telhome") cmo = cr.item("cuscar_telephone")

27 148 If cr.item("mstatus") = 0 Then lblmonny.text = "0" lblchage.text = "0" lblmonny.text = cr.item("cash1") lblchage.text = cr.item("chanhe1") gendata() cr.close() Private Sub gendata() If ds.tables.contains("carrepairdec") Then ds.tables("carrepairdec").clear() sql = "SELECT dbo.carrepairdec.pro_id, dbo.product.pro_name, dbo.carrepairdec.mqty, dbo.carrepairdec.mtotal, " sql = sql & "dbo.carrepairdec.mcost " sql = sql & "FROM dbo.carrepairdec INNER JOIN " sql = sql & "dbo.product ON dbo.carrepairdec.pro_id = dbo.product.pro_id " sql = sql & "where CarRepairDec.ID_M = '" & txtoutcarid.text & "' " Dim da As New SqlDataAdapter(sql, conn) da.fill(ds, "CarRepairDec") DataGridView1.DataSource = ds.tables("carrepairdec") Private Sub Cledata() If ds.tables.contains("carrepairdec") Then ds.tables("carrepairdec").clear() sql = "SELECT dbo.carrepairdec.pro_id, dbo.product.pro_name, dbo.carrepairdec.mqty, dbo.carrepairdec.mtotal, " sql = sql & "dbo.carrepairdec.mcost " sql = sql & "FROM dbo.carrepairdec INNER JOIN "

28 149 sql = sql & "dbo.product ON dbo.carrepairdec.pro_id = dbo.product.pro_id " sql = sql & "where CarRepairDec.ID_M = '" & "tt" & "' " Dim da As New SqlDataAdapter(sql, conn) da.fill(ds, "CarRepairDec") DataGridView1.DataSource = ds.tables("carrepairdec") 'ค ดเง น Private Sub cmdmonny_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles cmdmonny.click NetPaid = lblnetpaid.text Dim f As New frmcarmonny f.showdialog() lblmonny.text = Format(re1, "#,###,###.00") lblchage.text = Format(Changex, "#,###,###.00") 'บ นท ก Private Sub cmdok_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles cmdok.click sql = "UPDATE CarRepair SET " sql = sql & "cash1 = '" & CSng(lblMonny.Text) & "'," ' sql &= "" & CSng(lblMonny.Text) & "," sql = sql & "chanhe1 = '" & CSng(lblChage.Text) & "'," ' sql &= "" & CSng(lblChage.Text) & "," sql = sql & "mstatus = '" & "1" & "' " sql = sql & "WHERE " sql = sql & "ID_M = '" & txtoutcarid.text & "'" Dim com As SqlCommand = New SqlCommand With com.commandtype = CommandType.Text.CommandText = sql.connection = conn().executenonquery() End With

29 MsgBox("เร ยบร อยแล ว", MsgBoxStyle.Exclamation, "ผลการทางาน") Private Sub printer1() Dim rpt As New rptq1 Dim dataorder As New DataSet1 Dim frmreport As New frmreport Dim MyDa As New SqlDataAdapter sql = "SELECT CarRepairDec.ID_M, CarRepairDec.Pro_id, Product.pro_name, CarRepairDec.MQty, CarRepairDec.MCost, " sql = sql & "CarRepairDec.MTotal " sql = sql & "FROM CarRepairDec INNER JOIN " sql = sql & "Product ON CarRepairDec.Pro_id = Product.pro_id " sql = sql & "where CarRepairDec.ID_M = '" & txtoutcarid.text & "' " 'AND OrderDec.OID= '" & tmporderid & "'" MyDa = New SqlDataAdapter(sql, conn) MyDa.Fill(dataOrder, "CarRepair") If (dataorder.tables("carrepair").rows.count <> 0) Then rpt.setdatasource(dataorder.tables("carrepair")) rpt.setparametervalue("cusid", cid1) rpt.setparametervalue("cusname", cname) rpt.setparametervalue("address1", caddress) rpt.setparametervalue("tel", ctel) rpt.setparametervalue("mo", cmo) rpt.setparametervalue("mdate", Format(DateTimePicker2.Value, "d-mmmm-yyyy")) rpt.setparametervalue("redate", Format(DateTimePicker2.Value, "d-mmmm-yyyy")) rpt.setparametervalue("xxx", "ใบเสร จร บเง น") rpt.setparametervalue("empx", "พน กงาน") frmreport.crystalreportviewer1.reportsource = rpt frmreport.showdialog() MsgBox("NO Data!!!", MsgBoxStyle.Exclamation, "ผลการทางาน") 'ออกรายงาน 150

30 151 Private Sub cmdprint_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles cmdprint.click printer1() txtoutcarid.text = "" txtoutcarnumid.text = "" txtoutcarempname.text = "" txtoutcarcusid.text = "" Cledata() lblvat.text = "0" lblnetpaid.text = "0" lblmonny.text = "0" lblchage.text = "0" 'จบการทางาน Private Sub cmdexit_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles cmdexit.click If MessageBox.Show("ค ณต องการจบการทางาน ใช หร อไม?", "คาย นย น", MessageBoxButtons.YesNo, MessageBoxIcon.Question) = Windows.Forms.DialogResult.Yes Then Me.Close() 'ล างรายการ Private Sub cmdclear_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles cmdclear.click txtoutcarid.text = "" txtoutcarnumid.text = "" txtoutcarempname.text = "" txtoutcarcusid.text = "" lblvat.text = "0" lblnetpaid.text = "0" lblmonny.text = "0" lblchage.text = "0" End Clas

ภาคผนวก ก การต ดต งโปรแกรม

ภาคผนวก ก การต ดต งโปรแกรม ภาคผนวก ภาคผนวก ก การต ดต งโปรแกรม โปรแกรม Visual Basic.Net ข นตอนการต ดต งโปรแกรม Visual Basic.Net (Visual Studio.net 2008) 1. ใส แผ นโปรแกรม Visual Studio.net 2008 ลงใน CD-Rom Drive 2. รอให โปรแกรมท

More information

โปรแกรมช วยทดสอบหม อแปลงกระแส

โปรแกรมช วยทดสอบหม อแปลงกระแส โปรแกรมช วยทดสอบหม อแปลงกระแส 1.เมน ของโปรแกรม ภาพท 1 หน าเมน ของโปรแกรม Public Class frmmain Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

More information

ภาคผนวก ก. Source Code

ภาคผนวก ก. Source Code ภาคผนวก ภาคผนวก ก. Source Code 154 155 Source Code ช อ Empbook Option Explicit On Option Strict On Imports System.data Imports System.Data.OleDb Public Class Empbook Dim Book_status As Integer = 1 'ęğŀşľłŀăăő

More information

ก Microsoft Visual Studio 2008

ก Microsoft Visual Studio 2008 ก 58 ก ก ก ก ก 58 59 ก Microsoft Visual Studio 2008 1. DVD ก MSVS2008 ก MSVS2008 ก ก MSVS2008 ก ก 180 DVD DVD ก MSVS2008 ก ก Install Visual Studio 2008 2. ก ก ก ก ก Next 3. ก ก Options Page ก Custom ก

More information

ว ธ การต ดต ง Symantec Endpoint Protection

ว ธ การต ดต ง Symantec Endpoint Protection ว ธ การต ดต ง Symantec Endpoint Protection 1. Download File ส าหร บการต ดต ง 2. Install Symantec Endpoint Protection Manager 3. Install License 4. Install Symantec Endpoint Protection Client to Server

More information

ISI Web of Science. SciFinder Scholar. PubMed ส บค นจากฐานข อม ล

ISI Web of Science. SciFinder Scholar. PubMed ส บค นจากฐานข อม ล 2.3.3 Search Chem. Info. in Journal ส บค นจากฐานข อม ล - ฐานข อม ลท รวบรวมข อม ลของ journal จากหลาย ๆ แหล ง ISI http://portal.isiknowledge.com/portal.cgi/ SciFinder ต องต ดต งโปรแกรมพ เศษ และสม ครสมาช

More information

C Programming

C Programming 204216 -- C Programming Chapter 5 Repetition Adapted/Assembled for 204216 by Areerat Trongratsameethong Objectives Basic Loop Structures The while Statement Computing Sums and Averages Using a while Loop

More information

Chapter 3 Outline. Relational Model Concepts. The Relational Data Model and Relational Database Constraints Database System 1

Chapter 3 Outline. Relational Model Concepts. The Relational Data Model and Relational Database Constraints Database System 1 Chapter 3 Outline 204321 - Database System 1 Chapter 3 The Relational Data Model and Relational Database Constraints The Relational Data Model and Relational Database Constraints Relational Model Constraints

More information

What s Hot & What s New from Microsoft ส มล อน นตธนะสาร Segment Marketing Manager

What s Hot & What s New from Microsoft ส มล อน นตธนะสาร Segment Marketing Manager What s Hot & What s New from Microsoft ส มล อน นตธนะสาร Segment Marketing Manager 1 โปรแกรมท น าสนใจส าหร บไตรมาสน Crisis Turing Point II Oct-Dec 09 Windows 7 งานเป ดต วสาหร บล กค าท วไป, Paragon Hall,

More information

C Programming

C Programming 204216 -- C Programming Chapter 9 Character Strings Adapted/Assembled for 204216 by Areerat Trongratsameethong A First Book of ANSI C, Fourth Edition Objectives String Fundamentals Library Functions Input

More information

Broken Characters Identification for Thai Character Recognition Systems

Broken Characters Identification for Thai Character Recognition Systems Broken Characters Identification for Thai Character Recognition Systems NUCHAREE PREMCHAISWADI*, WICHIAN PREMCHAISWADI* UBOLRAT PACHIYANUKUL**, SEINOSUKE NARITA*** *Faculty of Information Technology, Dhurakijpundit

More information

CPE 426 Computer Networks. Chapter 5: Text Chapter 23: Support Protocols

CPE 426 Computer Networks. Chapter 5: Text Chapter 23: Support Protocols CPE 426 Computer Networks Chapter 5: Text Chapter 23: Support Protocols 1 TOPICS สร ปเร อง IP Address Subnetting Chapter 23: Supporting Protocols ARP: 23.1-23.7 ใช ส าหร บหา HW Address(MAC Address) ICMP:

More information

Verified by Visa Activation Service For Cardholder Manual. November 2016

Verified by Visa Activation Service For Cardholder Manual. November 2016 Verified by Visa Activation Service For Cardholder Manual November 2016 Table of Contents Contents Registration for Card Holder verification on ACS... 3 1. Direct Activation... 4 2. Changing personal information

More information

Fundamentals of Database Systems

Fundamentals of Database Systems 204222 - Fundamentals of Database Systems Chapter 24 Database Security Adapted for 204222 by Areerat Trongratsameethong Copyright 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Outline

More information

LAMPIRAN. Universitas Sumatera Utara

LAMPIRAN. Universitas Sumatera Utara LAMPIRAN 1. Modul Imports System.Data Imports System.Data.OleDb Module Module1 Public conn As OleDbConnection Public CMD As OleDbCommand Public DS As New DataSet Public DA As OleDbDataAdapter Public RD

More information

Chapter 4. Introducing Oracle Database XE 11g R2. Oracle Database XE is a great starter database for:

Chapter 4. Introducing Oracle Database XE 11g R2. Oracle Database XE is a great starter database for: Oracle Database XE is a great starter database for: Chapter 4 Introducing Oracle Database XE 11g R2 Developers working on PHP, Java,.NET, XML, and Open Source applications DBAs who need a free, starter

More information

โปรแกรมท น าสนใจส าหร บไตรมาสน

โปรแกรมท น าสนใจส าหร บไตรมาสน แคมเปญ และก จกรรมทางการตลาด (ต ลาคม ธ นวาคม 2552) โปรแกรมท น าสนใจส าหร บไตรมาสน Crisis Turing Point II Oct-Dec 09 Windows 7 งานเป ดต วสาหร บล กค าท วไป, Paragon Hall, 31 Oct -1 Nov งานเป ดต วสาหร บล กค

More information

Member Management System

Member Management System Member Management System These codes are provided ONLY for reference / Help developers. And also SUBMITTED IN PARTIAL FULFILLMENT OF THE REQUERMENT FOR THE AWARD OF BACHELOR OF COMPUTER APPLICATION (BCA)

More information

"!#... )*! "!# )+, -./ 01 $

!#... )*! !# )+, -./ 01 $ Email engauday@hotmail.com! "!#... $ %&'... )*! "!# )+, -./ 01 $ ) 1+ 2#3./ 01 %.. 7# 89 ; )! 5/< 3! = ;, >! 5 6/.?

More information

Chapter 9: Virtual-Memory Management Dr. Varin Chouvatut. Operating System Concepts 8 th Edition,

Chapter 9: Virtual-Memory Management Dr. Varin Chouvatut. Operating System Concepts 8 th Edition, Chapter 9: Virtual-Memory Management Dr. Varin Chouvatut, Silberschatz, Galvin and Gagne 2010 Chapter 9: Virtual-Memory Management Background Demand Paging Copy-on-Write Page Replacement Allocation of

More information

INPUT Input point Measuring cycle Input type Disconnection detection Input filter

INPUT Input point Measuring cycle Input type Disconnection detection Input filter 2 = TEMPERATURE CONTROLLER PAPERLESS RECORDER หน าจอเป น Touch Sceen 7-Inch LCD เก บข อม ลผ าน SD Card และ USB Memory ร บ Input เป น TC/RTD/DC Voltage/DC Current ร บ Input 6 Channel ช วงเวลาในการอ านส

More information

SEARCH STRATEGIES KANOKWATT SHIANGJEN COMPUTER SCIENCE SCHOOL OF INFORMATION AND COMMUNICATION TECHNOLOGY UNIVERSITY OF PHAYAO

SEARCH STRATEGIES KANOKWATT SHIANGJEN COMPUTER SCIENCE SCHOOL OF INFORMATION AND COMMUNICATION TECHNOLOGY UNIVERSITY OF PHAYAO SEARCH STRATEGIES KANKWATT SHIANGJEN CMPUTER SCIENCE SCHL F INFRMATIN AND CMMUNICATIN TECHNLGY UNIVERSITY F PHAYA Search Strategies Uninformed Search Strategies (Blind Search): เป นกลย ทธ การ ค นหาเหม

More information

The Clustering Technique for Thai Handwritten Recognition

The Clustering Technique for Thai Handwritten Recognition The Clustering Technique for Thai Handwritten Recognition Ithipan Methasate, Sutat Sae-tang Information Research and Development Division National Electronics and Computer Technology Center National Science

More information

DO NOT COPY AMIT PHOTOSTUDIO

DO NOT COPY AMIT PHOTOSTUDIO AMIT PHOTOSTUDIO These codes are provided ONLY for reference / Help developers. And also SUBMITTED IN PARTIAL FULFILLMENT OF THE REQUERMENT FOR THE AWARD OF BACHELOR OF COMPUTER APPLICATION (BCA) All rights

More information

I/O. Output. Input. Input ของจาวา จะเป น stream จะอ าน stream ใช คลาส Scanner. standard input. standard output. standard err. command line file.

I/O. Output. Input. Input ของจาวา จะเป น stream จะอ าน stream ใช คลาส Scanner. standard input. standard output. standard err. command line file. I/O and Exceptions I/O Input standard input keyboard (System.in) command line file Output standard output Screen (System.out) standard err file System.err Input ของจาวา จะเป น stream จะอ าน stream ใช คลาส

More information

Crystal Report & Crystal Server 2016

Crystal Report & Crystal Server 2016 Crystal Report & Crystal Server 206 Crystal Report เป นเคร องม อในการสร าง Report ท ม จ ดเด นในความสามารถเช อมต อฐานข อม ลท หลากหลาย เพ อนำา เอาข อม ลมาใช สร างรายงานสำาหร บการใช งานท วไปในงานธ รก จ ประจำาว

More information

C16 Visual Basic Net Programming

C16 Visual Basic Net Programming C16 Visual Basic Net Programming Student ID Student Name Date - Module Tutor - 1 P a g e Report Contents Introduction... 2 Software Development Process... 3 Self Reflection... 6 References... 6 Appendices...

More information

IS311. Data Structures and Java Collections

IS311. Data Structures and Java Collections IS311 Data Structures and Java Collections 1 Algorithms and Data Structures Algorithm Sequence of steps used to solve a problem Operates on collection of data Each element of collection -> data structure

More information

JavaScript Framework: AngularJS

JavaScript Framework: AngularJS บทท 8 JavaScript Framework: AngularJS ว ชา เทคโนโลย เว บ (รห สว ชา 04-06-204) ว ตถ ประสงค การเร ยนร เพ อให ผ เร ยนม ความร ความเข าใจเก ยวก บ JavaScript Framework: AngularJS เพ อให ผ เร ยนสามารถนาเสนอการดาเน

More information

เคร องว ดระยะด วยแสงเลเซอร แบบม อถ อ ย ห อ Leica DISTO ร น D110 (Bluetooth Smart) ประเทศสว ตเซอร แลนด

เคร องว ดระยะด วยแสงเลเซอร แบบม อถ อ ย ห อ Leica DISTO ร น D110 (Bluetooth Smart) ประเทศสว ตเซอร แลนด เคร องว ดระยะด วยแสงเลเซอร แบบม อถ อ ย ห อ Leica DISTO ร น D110 (Bluetooth Smart) ประเทศสว ตเซอร แลนด 1. ค ณล กษณะ 1.1 เป นเคร องว ดระยะทางด วยแสงเลเซอร แบบม อถ อ 1.2 ความถ กต องในการว ดระยะทางไม เก น

More information

Course: Project Management Learning world class business project management skills

Course: Project Management Learning world class business project management skills Course: Project Management Learning world class business project management skills Duration: 5 Days (9:00 16:00) Description: Your ability as a project manager to demonstrate best practices in project

More information

Chapter 8: Memory- Management Strategies Dr. Varin Chouvatut

Chapter 8: Memory- Management Strategies Dr. Varin Chouvatut Part I: Overview Part II: Process Management Part III : Storage Management Chapter 8: Memory- Management Strategies Dr. Varin Chouvatut, Silberschatz, Galvin and Gagne 2010 Chapter 8: Memory Management

More information

ร จ กก บ MySQL Cluster

ร จ กก บ MySQL Cluster ร จ กก บ MySQL Cluster ก ตต ร กษ ม วงม งส ข (Kittirak Moungmingsuk) kittirak@clusterkit.co.th May 19, 2012 @ossfestival #11 `whoami` A part of team at Cluster Kit Co.,Ltd. Since 2007. Adjacent Lecturer

More information

กองว ชาประว ต ศาสตร ส วนการศ กษา โรงเร ยนนายร อยพระจ ลจอมเกล า 18 ต ลาคม พ.ศ. 2549

กองว ชาประว ต ศาสตร ส วนการศ กษา โรงเร ยนนายร อยพระจ ลจอมเกล า 18 ต ลาคม พ.ศ. 2549 บ ญช ด ชน เอกสารเก ยวก บประเทศไทยจากส าน กหอจดหมายเหต แห งชาต สหร ฐอเมร กา RG 226 Entry 153 A Records of the Office of Strategic Services: Washington Director's Office พ.ท.ผศ.ดร. ศรศ กร ช สว สด ผ รวบรวม

More information

Looking forward to a successful coopertation : TEIN

Looking forward to a successful coopertation : TEIN Space Krenovation Park : SKP Looking forward to a successful coopertation : TEIN Geo-Informatics and Space Technology Development Agency : GISTDA Space Krenovation Park @ Chonburi 1 Mission TC/TM House

More information

แผนการสอนว ชา การเข ยนโปรแกรมคอมพ วเตอร 2 (Computer Programming 2) ภาคการศ กษา 1 ป การศ กษา 2559

แผนการสอนว ชา การเข ยนโปรแกรมคอมพ วเตอร 2 (Computer Programming 2) ภาคการศ กษา 1 ป การศ กษา 2559 แผนการสอนว ชา 01076235 การเข ยนโปรแกรมคอมพ วเตอร 2 (Computer Programming 2) ภาคการศ กษา 1 ป การศ กษา 2559 ค าอธ บายรายว ชา หล กการโปรแกรมเช งว ตถ เมธอด คลาส การซ อนสารสนเทศและการส บทอด อ ลกอร ท มพ นฐานการเร

More information

C# winforms gridview

C# winforms gridview C# winforms gridview using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms;

More information

Else. End If End Sub End Class. PDF created with pdffactory trial version

Else. End If End Sub End Class. PDF created with pdffactory trial version Dim a, b, r, m As Single Randomize() a = Fix(Rnd() * 13) b = Fix(Rnd() * 13) Label1.Text = a Label3.Text = b TextBox1.Clear() TextBox1.Focus() Private Sub Button2_Click(ByVal sender As System.Object, ByVal

More information

Answer on Question# Programming, C#

Answer on Question# Programming, C# Answer on Question#38723 - Programming, C# 1. The development team of SoftSols Inc. has revamped the software according to the requirements of FlyHigh Airlines and is in the process of testing the software.

More information

WEEK 1. Event: Tick: Occurs when the specified timer interval has elapsed and the timer is enabled.

WEEK 1. Event: Tick: Occurs when the specified timer interval has elapsed and the timer is enabled. WEEK 1 Timer: A Timer is used to raise an event at user-defined intervals. It is optimized for use in Windows Forms applications. Timer is used to control and manage events that are time related. For example:

More information

> ADO.NET: ActiveX Data Objects for.net, set of components used to interact with any DB/ XML docs

> ADO.NET: ActiveX Data Objects for.net, set of components used to interact with any DB/ XML docs > ADO.NET: ActiveX Data Objects for.net, set of components used to interact with any DB/ XML docs It supports 2 models for interacting with the DB: 1. Disconnected Model 2. Connection Oriented Model Note:

More information

IS311 Programming Concepts 2/59. AVA Exception Handling Jการจ ดการส งผ ดปรกต

IS311 Programming Concepts 2/59. AVA Exception Handling Jการจ ดการส งผ ดปรกต 1 IS311 Programming Concepts 2/59 AVA Exception Handling Jการจ ดการส งผ ดปรกต 2 Introduction Users have high expectations for the code we produce. Users will use our programs in unexpected ways. Due to

More information

AJAX เสถ ยร ห นตา ส าน กเทคโนโลย สารสนเทศและการส อสาร มหาว ทยาล ยนเรศวร พะเยา

AJAX เสถ ยร ห นตา ส าน กเทคโนโลย สารสนเทศและการส อสาร มหาว ทยาล ยนเรศวร พะเยา AJAX เสถ ยร ห นตา ส าน กเทคโนโลย สารสนเทศและการส อสาร มหาว ทยาล ยนเรศวร พะเยา 1 Ajax ( Asynchronous JavaScript and XML ) Ajax ค ออะไร JavaScript DHTML = Dynamic HTML XML = Extensive Markup Language Css

More information

This PDF was generated in real-time using DynamicPDF; Generator for.net.

This PDF was generated in real-time using DynamicPDF; Generator for.net. TableReport.aspx 1 1 Imports System 2 Imports System.Data 3 Imports System.Data.SqlClient 4 5 Imports cete.dynamicpdf 6

More information

The New Effective Tool for Data Migration from Old PACS (Rogan) to New PACS (Fuji Synapse) with Integrated Thai Patient Names

The New Effective Tool for Data Migration from Old PACS (Rogan) to New PACS (Fuji Synapse) with Integrated Thai Patient Names The New Effective Tool for Data Migration from Old PACS (Rogan) to New PACS (Fuji Synapse) with Integrated Thai Patient Names Thanongchai Siriapisith MD*, Trongtum Tongdee MD* * Department of Radiology,

More information

Today Topics. Artificial Intelligent??? Artificial Intelligent??? Intelligent Behaviors. Intelligent Behavior (Con t) 20/07/52

Today Topics. Artificial Intelligent??? Artificial Intelligent??? Intelligent Behaviors. Intelligent Behavior (Con t) 20/07/52 Today Topics Artificial Intelligent Applications Opas Wongtaweesap (Aj OaT) Intelligent Information Systems Development and Research Laboratory Centre Faculty of Science, Silpakorn University Webpage :

More information

create database ABCD use ABCD create table bolumler ( bolumkodu int primary key, bolumadi varchar(20) )

create database ABCD use ABCD create table bolumler ( bolumkodu int primary key, bolumadi varchar(20) ) create database ABCD use ABCD create table bolumler ( bolumkodu int primary key, bolumadi varchar(20) ) insert into bolumler values(1,'elektrik') insert into bolumler values(2,'makina') insert into bolumler

More information

Lab 10: Structs and Enumeration

Lab 10: Structs and Enumeration Lab 10: Structs and Enumeration There is one more way to create your own value types in C#. You can use the struct keyword. A struct (short for structure) can have its own fields, methods, and constructors

More information

ว.ว ทย. มข. 45(2) (2560) KKU Sci. J. 45(2) (2017) บทค ดย อ ABSTRACT

ว.ว ทย. มข. 45(2) (2560) KKU Sci. J. 45(2) (2017) บทค ดย อ ABSTRACT ว.ว ทย. มข. 45(2) 418-437 (2560) KKU Sci. J. 45(2) 418-437 (2017) การปร บปร งรห สล บฮ ลล โดยอาศ ยการเข ารห สล บเป นคาบสองช น และการแปรผ นความยาว A Modification of the Hill Cipher Based on Doubly Periodic

More information

Remote Monitoring and Controlling of a Material Science Experiment

Remote Monitoring and Controlling of a Material Science Experiment Walailak J Sci & Tech 2004; 1(1):43-52. 43 Remote Monitoring and Controlling of a Material Science Experiment Wattanapong KURDTHONGMEE School of Engineering and Resources, Walailak University, Thasala,

More information

Thailand s Social Media Analysis regarding the Great East Japan Earthquake Investigate target social media candidates

Thailand s Social Media Analysis regarding the Great East Japan Earthquake Investigate target social media candidates Chapter 4 Thailand s Social Media Analysis regarding the Great East Japan Earthquake Investigate target social media candidates The first evaluation report with the target social media candidates 31 August

More information

Example: How to create a shape from SpecialShapeFactory.

Example: How to create a shape from SpecialShapeFactory. Example: How to create a shape from SpecialShapeFactory. // Create the Cross Shape ArrayList linelist = new ArrayList(); pointlist.add(new Point2D.Double(420.0,152.0)); pointlist.add(new

More information

Lecture Outline. 1. Semantic Web Technologies 2. A Layered Approach 3. Data Integration

Lecture Outline. 1. Semantic Web Technologies 2. A Layered Approach 3. Data Integration Semantic Web Lecture Outline 1. Semantic Web Technologies 2. A Layered Approach 3. Data Integration Semantic Web Technologies Explicit Metadata Ontologies Logic and Inference Agents 3 On HTML Web content

More information

จาวา : Threads สมชาย ประส ทธ จ ตระก ล

จาวา : Threads สมชาย ประส ทธ จ ตระก ล จาวา : Threads สมชาย ประส ทธ จ ตระก ล Threads A thread == A virtual CPU Threads == Virtual CPUs sharing the same memory space running virtually at the same time Java supports multithreading Typically used

More information

An SMS-Based Fault Dispatching System: An Additional Utilisation of a Mobile Phone Infrastructure

An SMS-Based Fault Dispatching System: An Additional Utilisation of a Mobile Phone Infrastructure Walailak J Sci & Tech 2004; 1(2):107-118. 107 An SMS-Based Fault Dispatching System: An Additional Utilisation of a Mobile Phone Infrastructure Wattanapong KURDTHONGMEE 1 and Pongwirat KEMAPANMANAS 2 School

More information

Healthcare information and integration

Healthcare information and integration Healthcare information and integration Yudthaphon Vichianin, Ph.D. Department of Radiological Technology Faculty of Medical Technology Mahidol University Agenda History of Computer in Medicine HL7 DICOM

More information

Parallel K-means Clustering Algorithm on NOWs

Parallel K-means Clustering Algorithm on NOWs 243 Parallel K-means Clustering Algorithm on NOWs Sanpawat Kantabutra and Alva L. Couch Department of Computer Science Tufts University, Medford, Massachusetts, 02155, USA http://www.cs.tufts.edu/~{sanpawat,

More information

กล ม API ท ใช. Programming Graphical User Interface (GUI) Containers and Components 22/05/60

กล ม API ท ใช. Programming Graphical User Interface (GUI) Containers and Components 22/05/60 กล ม API ท ใช Programming Graphical User Interface (GUI) AWT (Abstract Windowing Toolkit) และ Swing. AWT ม ต งต งแต JDK 1.0. ส วนมากจะเล กใช และแทนท โดยr Swing components. Swing API ปร บปร งความสามารถเพ

More information

Lecture 6 Register Transfer Methodology. Pinit Kumhom

Lecture 6 Register Transfer Methodology. Pinit Kumhom Lecture 6 Register Transfer Methodology Pinit Kumhom VLSI Laboratory Dept. of Electronic and Telecommunication Engineering (KMUTT) Faculty of Engineering King Mongkut s University of Technology Thonburi

More information

VISUAL BASIC PROGRAMMING (44) Technical Task KEY. Regional 2013 TOTAL POINTS (485)

VISUAL BASIC PROGRAMMING (44) Technical Task KEY. Regional 2013 TOTAL POINTS (485) 5 Pages VISUAL BASIC PROGRAMMING (44) Technical Task KEY Regional 2013 TOTAL POINTS (485) Graders: Please double-check and verify all scores! Property of Business Professionals of America. May be reproduced

More information

Thai Text Localization in Natural Scene Images using Convolutional Neural Network

Thai Text Localization in Natural Scene Images using Convolutional Neural Network Thai Text Localization in Natural Scene Images using Convolutional Neural Network Thananop Kobchaisawat * and Thanarat H. Chalidabhongse * Department of Computer Engineering, Chulalongkorn University,

More information

Collections IS311. The Collections Framework. Type Trees for Collections. Java Collections Framework (ต อ)

Collections IS311. The Collections Framework. Type Trees for Collections. Java Collections Framework (ต อ) IS311 Java Collections Framework (ต อ) Collections Collections are holders that let you store and organize objects in useful ways for efficient access. In the package java.util, there are interfaces and

More information

IS311. Java Collections Framework (ต อ)

IS311. Java Collections Framework (ต อ) IS311 Java Collections Framework (ต อ) 1 Collections Collections are holders that let you store and organize objects in useful ways for efficient access. In the package java.util, there are interfaces

More information

Lampiran 1 Kode Program

Lampiran 1 Kode Program 53 Lampiran 1 Kode Program Kode Program 1 Kode Menu Peminjaman Private Sub BT_Cari_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BT_Cari.Click Call CariKaset() Private Sub RB_CheckedChanged(ByVal

More information

Specifications 14TB 12TB 10TB 8TB 6TB 4TB 3TB 2TB 1TB

Specifications 14TB 12TB 10TB 8TB 6TB 4TB 3TB 2TB 1TB SEAGATE Internal Harddisk Drive Skyhawk : 3.5 ส นค า ร บประก น 3 ป Smart. Safe. Secure. : Seagate Surveillance-Optimized Storage Seagate SkyHawkค ม ครบ เพ อ อนาคต Hard disk ส าหร บกล องวงจรป ดโดยเฉพาะ

More information

VB.NET Programs. ADO.NET (insert, update, view records)

VB.NET Programs. ADO.NET (insert, update, view records) ADO.NET (insert, update, view records) VB.NET Programs Database: Student Table : Studtab (adno, name, age, place) Controls: DataGridView, Insert button, View button, Update button, TextBox1 (for Admission

More information

Chapter 3. Legal, Ethical & Professional Issues in Information Security & Network Vulnerabilities and Attacks

Chapter 3. Legal, Ethical & Professional Issues in Information Security & Network Vulnerabilities and Attacks Chapter 3 Legal, Ethical & Professional Issues in Information Security & Network Vulnerabilities and Attacks Resource from : Dr.Sukchatri PRASOMSUK School of Information Technology and Communication, University

More information

How to Validate DataGridView Input

How to Validate DataGridView Input How to Validate DataGridView Input This example explains how to use DR.net to set validation criteria for a DataGridView control on a Visual Studio.NET form. Why You Should Use This To add extensible and

More information

Imports System.Data.SqlClient. Public Class Phonebook

Imports System.Data.SqlClient. Public Class Phonebook Imports System.Data.SqlClient Public Class Phonebook Dim vbdatabasedataset As New vbdatabasedataset() Dim PhonebookTableAdapter As New vbdatabasedatasettableadapters.phonebooktableadapter() Dim selection

More information

ร ปแบบใหม ของการต ดต อส อสารไร สาย

ร ปแบบใหม ของการต ดต อส อสารไร สาย ร ปแบบใหม ของการต ดต อส อสารไร สาย ค ณล กษณะของต วระบบ Motorola Wireless Canopy เป นอ ปกรณ ส อสารไร สายท ออกแบบมาเพ อการร บส งข อม ลแบบความเร วส ง (Broadband) โดยปราศจากส ญญาณรบกวนต างๆ โดยใช ความถ ย าน

More information

Revision for Final Examination (Second Semester) Grade 9

Revision for Final Examination (Second Semester) Grade 9 Revision for Final Examination (Second Semester) Grade 9 Name: Date: Part 1: Answer the questions given below based on your knowledge about Visual Basic 2008: Question 1 What is the benefit of using Visual

More information

Ethernet'Basics. Topics

Ethernet'Basics. Topics 'Basics ผศ.ดร.ส ร นทร ก ตต ธรก ล และ อ.สรย ทธ กลมกล อม ภาคว ชาว ศวกรรมคอมพ วเตอร คณะว ศวกรรมศาสตร สถาบ นเทคโนโลย พระจอมเกล าเจ าค ณทหารลาดกระบ ง Topics History,)Standards,)Terminologies Transmission)media

More information

LAMPIRAN A: Listing Program

LAMPIRAN A: Listing Program 78 LAMPIRAN A: Listing Program 1. Form Login Public Class FrmLogin Public user As String Private Sub CmdLogin_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CmdLogin.Click Dim

More information

Chapter 11 Object-Oriented Design Exception and binary I/O can be covered after Chapter 9

Chapter 11 Object-Oriented Design Exception and binary I/O can be covered after Chapter 9 Chapter 6 Arrays Chapter 8 Strings Chapter 7 Objects and Classes Chapter 9 Inheritance and Polymorphism GUI can be covered after 10.2, Abstract Classes Chapter 12 GUI Basics 10.2, Abstract Classes Chapter

More information

2017 PROGRAM PORTFOLIO

2017 PROGRAM PORTFOLIO NSTDA Academy National Science and Development Agency,Yothee Office, 73/1 Rama 6 Road Payathai, Ratchathewi, Bangkok 10400, Thailand, Tel: 66 2644 8150 ต อ 81886-7, Fax: 66 2644 8110, www.nstdaacademy.com

More information

To enter the number in decimals Label 1 To show total. Text:...

To enter the number in decimals Label 1 To show total. Text:... Visual Basic tutorial - currency converter We will use visual studio to create a currency converter where we can convert a UK currency pound to other currencies. This is the interface for the application.

More information

บทท 4 ข นตอนการทดลอง

บทท 4 ข นตอนการทดลอง บทท 4 ข นตอนการทดลอง ในบทน จะท าการทดลองในส วนของซ นเซอร ว ดอ ณหภ ม เพ อผลท ได มาใช ในการเข ยน โปรแกรมและท าโครงงานให ได ประส ทธ ภาพข น 4.1 การทดสอบระบบเซ นเซอร ว ตถ ประสงค การทดลอง ว ตถ ประสงค ของการทดลองน

More information

ITcertKing. The latest IT certification exam materials. IT Certification Guaranteed, The Easy Way!

ITcertKing.   The latest IT certification exam materials. IT Certification Guaranteed, The Easy Way! ITcertKing The latest IT certification exam materials http://www.itcertking.com IT Certification Guaranteed, The Easy Way! Exam : 70-561-VB Title : TS: MS.NET Framework 3.5, ADO.NET Application Development

More information

DAFTAR PUSTAKA. Bojic, Paul, 2008, Business Information System. Pearson Education Ltd., England

DAFTAR PUSTAKA. Bojic, Paul, 2008, Business Information System. Pearson Education Ltd., England DAFTAR PUSTAKA Bojic, Paul, 2008, Business Information System. Pearson Education Ltd., England Elib.unikom.ac.id, SQL Server, 27 April 2014. Jogiyanto. 2005. Analisis & Desain Sistem Informasi : Pendekatan

More information

MT7049 การออกแบบและฐานข อม ลบนเว บ

MT7049 การออกแบบและฐานข อม ลบนเว บ MT7049 การออกแบบและฐานข อม ลบนเว บ 3 (2-2-5) Web Design and Web Database ส พจน เฮงพระพรหม http://home.npru.ac.th/supoj คาอธ บายรายว ชา แนวค ดองค ประกอบของเว บ หล กการออกแบบเว บ การว เคราะห เน อหา การออกแบบโครงสร

More information

Hand Motion Analysis for Thai Alphabet Recognition using HMM

Hand Motion Analysis for Thai Alphabet Recognition using HMM Hand Motion Analysis for Thai Alphabet Recognition using HMM Kittasil Silanon and Nikom Suvonvorn Abstract In this paper, we propose a system for Thai alphabet recognition from hand movement trajectory,

More information

Chapter 11 Object-Oriented Design Exception and binary I/O can be covered after Chapter 9

Chapter 11 Object-Oriented Design Exception and binary I/O can be covered after Chapter 9 Chapter 6 Arrays Chapter 7 Objects and Classes Chapter 8 Strings Chapter 9 Inheritance and Polymorphism GUI can be covered after 10.2, Abstract Classes Chapter 12 GUI Basics 10.2, Abstract Classes Chapter

More information

if (say==0) { k.commandtext = "Insert into kullanici(k_adi,sifre) values('" + textbox3.text + "','" + textbox4.text + "')"; k.

if (say==0) { k.commandtext = Insert into kullanici(k_adi,sifre) values(' + textbox3.text + ',' + textbox4.text + '); k. using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Data.SqlClient;

More information

Glossary. Mathematics Glossary. Elementary School Level. English Thai

Glossary. Mathematics Glossary. Elementary School Level. English Thai Elementary School Level Glossary Mathematics Glossary English Thai Translation of Mathematics Terms Based on the Coursework for Mathematics Grades 3 to 5. This glossary is to PROVIDE PERMITTED TESTING

More information

Part Picture Description Warranty

Part Picture Description Warranty Logitech : Keyboard LGT-920-002149 Logitech Classic Keyboard K100 3 320.- LGT-920-002590 Logitech Keyboard K120 - THAI 3 359.- LGT-920-007596 K380 Multi-Device Bluetooth Keyboard - Black 1 1,290.- LGT-920-007597

More information

JOURNAL OF INFORMATION SCIENCE AND TECHNOLOGY (JIST)

JOURNAL OF INFORMATION SCIENCE AND TECHNOLOGY (JIST) JOURNAL OF INFORMATION SCIENCE AND TECHNOLOGY (JIST) The Journal of Information Science and Technology (JIST) is an academic journal established by the collaboration of 18 faculties that conduct courses

More information

PRICE LIST Video Transmission Fiber Optic Cable TEL: (May 2015) HD-AHD CCTV System

PRICE LIST Video Transmission Fiber Optic Cable TEL: (May 2015)  HD-AHD CCTV System COMMUNICATION PRODUCTS Video Transmission Fiber Optic Cable PRICE LIST 2015 HD-AHD CCTV System HD-CVI CCTV System HD-TVI CCTV System Analog CCTV System (May 2015) www.facebook.com/bismonthailand TEL: 0-2563-5000

More information

Day1/Section 1 Network Tutorial Path 1. Rachan Lekkla, Ph.D (Teleommunications) Engineering Manager, EN HD

Day1/Section 1 Network Tutorial Path 1. Rachan Lekkla, Ph.D (Teleommunications) Engineering Manager, EN HD Day1/Section 1 Network Tutorial Path 1 Rachan Lekkla, Ph.D (Teleommunications) Engineering Manager, EN HD 1 Outline 1. Principle of Data Communication 2. Shannon Theory 3. Nyquist Theory 4. Computer Network

More information

Acquiring Sentiment from Twitter using Supervised Learning and Lexicon-based Techniques

Acquiring Sentiment from Twitter using Supervised Learning and Lexicon-based Techniques Information Technology Acquiring Sentiment from Twitter using Supervised Learning and Lexicon-based Techniques Jitrlada ROJRATANAVIJIT 1,*, Preecha VICHITTHAMAROS 1 and Sukanya PHONGSUPHAP 2 1 School of

More information

Objectives. After completing this topic, the students will: Understand of the concept of polymorphism Know on How to implement 2 types of polymorphism

Objectives. After completing this topic, the students will: Understand of the concept of polymorphism Know on How to implement 2 types of polymorphism Polymorphism Objectives After completing this topic, the students will: Understand of the concept of polymorphism Know on How to implement 2 types of polymorphism Definition Polymorphism provides the ability

More information

ST7 ASM Quick Reference Guide

ST7 ASM Quick Reference Guide ST7 ASM Quick Reference Guide A concise listing of the ST7 Instruction set and Directive Language This quick reference guide gives all the instruction, directives and command line option for the ST7 assembler.

More information

PERFORMANCE COMPARISON OF MIPv6 AND FMIPv6 OVER WLANS

PERFORMANCE COMPARISON OF MIPv6 AND FMIPv6 OVER WLANS PERFORMANCE COMPARISON OF MIPv6 AND FMIPv6 OVER WLANS PAIRAT NGAMTURA A RESEARCH PROJECT SUBMITTED IN PARTIAL FULFILLMENT OF THE REQUIREMENTS FOR THE DEGREE OF MASTER OF SCIENCE (COMPUTER SCIENCE) FACULTY

More information

Consuming and Manipulating Data O BJECTIVES

Consuming and Manipulating Data O BJECTIVES O BJECTIVES This chapter covers the following Microsoft-specified objectives for the Consuming and Manipulating Data section of Exam 70-316, Developing and Implementing Windows-Based Applications with

More information

10/07/56.

10/07/56. http://www.youtube.com/watch?v=sk2lfgh1c4q 50 Fall in love with Marketing Advertising Branding Graphic Design Marketing Public Relations Telemarketing 1 I m a great lover Hello Marketing I m a great lover

More information

Getting Started Introducción. En Es Kr Th Vn 간단설치가이드 FT (000)

Getting Started Introducción. En Es Kr Th Vn 간단설치가이드 FT (000) Getting Started Introducción 간단설치가이드 Bắt Đầu. En Es Kr Th Vn FT6-0793 (000) Installing the Printer Remove all the tape. Do not remove the packing material yet. Installation Requirements Auxiliary Tray

More information

Microsoft Windows7. The Trainer. Microsoft Windows7. Name : Phattharaphon Khajornchaiyakul Nickname : Phat

Microsoft Windows7. The Trainer. Microsoft Windows7. Name : Phattharaphon Khajornchaiyakul Nickname : Phat Microsoft Windows7 1 The Trainer Name : Phattharaphon Khajornchaiyakul Nickname : Phat Email : ibwiw@hotmail.com 2 www.npssolution.com : 081-8836286 1 Understanding Windows 7 The Different Versions of

More information

CATALOGUE N1506TH

CATALOGUE N1506TH CATALOGUE 06-07 N1506TH Copper cabling solution 2 types of connection for maximum choice BTNET offers a wide range of products to make copper wiring. It includes patch panels, patch cords, cables to make

More information

C Programming. Lecture no. 2 More on Control Statements

C Programming. Lecture no. 2 More on Control Statements C Programming Lecture no. 2 More on Control Statements คำส งในกำรควบค มโปรแกรม 2 คำส ง if อย ำงง ำย ค ำส ง if เป นค ำส งสำหร บกำร สร ำงสำยกำรควบค มกำรท ำงำน ออกเป น 2 สำย ร ปแบบ if (condition) statement;

More information

Mainly three tables namely Teacher, Student and Class for small database of a school. are used. The snapshots of all three tables are shown below.

Mainly three tables namely Teacher, Student and Class for small database of a school. are used. The snapshots of all three tables are shown below. APPENDIX 1 TABLE DETAILS Mainly three tables namely Teacher, Student and Class for small database of a school are used. The snapshots of all three tables are shown below. Details of Class table are shown

More information

ภาคผนวก ก การต ดต งโปรแกรม

ภาคผนวก ก การต ดต งโปรแกรม ภาคผนวก 102 103 ภาคผนวก ก การต ดต งโปรแกรม 104 โปรแกรม AppServ โปรแกรม AppServ เป นโปรแกรมท รวบรวมโปรแกรม Open Source Software หลายๆ อย าง เข าด วยก น โดยภายในโปรแกรม AppServ ประกอบด วยโปรแกรมต างๆ ด งน

More information